package com.scsj.supermarket.adapter;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.scsj.supermarket.R;

import java.util.List;

/**
 * 定单-图片
 */

public class OrderImgAdapter extends BaseQuickAdapter<Integer,BaseViewHolder> {
    public OrderImgAdapter(List data) {
        super(R.layout.order_img_layout,data);
    }

    @Override
    protected void convert(BaseViewHolder helper, Integer item) {
        helper.setImageResource(R.id.good_iv,item);
    }
}
